-- GENERATED SPELL FOR [Dread Ripper] --


function spell0_4694(pUnit, Event) --@Rend Flesh,n/a--
pUnit:FullCastSpellOnTarget(3147,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4694', 12000, 1)
end

function Sorts_4694(pUnit, Event)
local choix_sorts_4694 = math.random(0, 0)
if choix_sorts_4694 == 0 then
pUnit:RegisterEvent('spell0_4694', 1, 1)
end
end

function mob4694_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4694', math.random(1500, 3000), 1)
end

function mob4694_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4694_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4694_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4694, 1, 'mob4694_Action')
RegisterUnitEvent(4694, 2, 'mob4694_Leave')
RegisterUnitEvent(4694, 3, 'mob4694_Kill')
RegisterUnitEvent(4694, 4, 'mob4694_Die')
